package com.heu.blood.common.enums;

public enum BloodInformationEnum {
//    IF_SHOW("1", "展示记录"),
//    IF_NOT_SHOW("0", "不展示记录");

    EXAMPLE("值", "描述"),
    BLOOD_MATCH_FAILED("BLOOD_MATCH_FAILED", "交叉配血失败"),
    BLOOD_MATCH_SUCCESSED("BLOOD_MATCH_COMPLETED", "交叉配血成功"),
    BLOOD_IN_STOCK("IN_STOCK", "血液在库"),
    BLOOD_IN_MATCH("IN_MATCH", "血液配血中"),
    BLOOD_USED("USED", "已使用"),
    BLOOD_SCRAP("BLOOD_SCRAP", "血液报废")
    //BLOOD_ALREADY_SEND("BLOOD_ALREADY_SEND", "血液已发血") 已弃用
    ; //需要见名知意

    private final String code;

    private final String value;

    BloodInformationEnum(String code, String value) {
        this.code = code;
        this.value = value;
    }

    public String code() {
        return code;
    }

    public String value() {
        return value;
    }
}
